package com.milk.system.model.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 商品信息表 VO
 *
 * @author milk
 * @since 2024-05-02
 */
@Getter
@Setter
@Schema(description = "商品信息表视图对象")
public class ProductsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "商品唯一标识")

    private Long id;

    @Schema(description = "商品名称")

    private String productName;

    @Schema(description = "商品图片")

    private String productImages;

    @Schema(description = "商品价格")

    private BigDecimal price;

    @Schema(description = "库存数量")

    private Integer stockQuantity;

    @Schema(description = "商家id")

    private Long merchantId;

    @Schema(description = "商品描述")

    private String description;

    @Schema(description = "商品类别")

    private String category;

    @Schema(description = "创建时间")

    private LocalDateTime createdTime;

    @Schema(description = "修改时间")

    private LocalDateTime updatedTime;

    @Schema(description = "逻辑删除标识（0：未删除，1：已删除）")

    private Boolean deleted;
}
